Building the project target

You are now ready to build the executable. The steps outlined below are to be executed in the Project Editor.

Choose Target -> Make... > diners to build all the object files and the main target in the shared project.
A Shell opens, in which the

sniffmake diners command is executed. Upon completion, you should have an executable named diners in <diners> .
Run the executable if you want. To do so, enter diners in the Shell, or choose Target > Run diners.
SNiFF+'s Shell does not have all the terminal capabilities which are required by diners .
Close the diners.shared project

.

| Note
| Due to differences between the C/C++ and GNAT library models the following specialities apply: Within one project you can not mix Ada sources with other languages. GNAT has very strict file naming conventions. The project's executable target must be named according to these rules; that is, if the main file is 'diners.adb', the executable must be named 'diners'. gnatmake supports executable targets only. Any other kind (relinkable object, library) must be made manually. As object sharing is not supported, the only helping target that applies is 'clean'. During make you will receive warnings about overwriting targets (e.g. Warning: overwriting rule `diners'), which is the normal behavior and can be ignored.

This concludes the tutorial on browsing Ada code.